package com.ssm.dao;

import com.ssm.entity.Leader;

import java.util.List;

/**
 * 员工持久层接口
 */
public interface LeaderDao {
    void insertLeader(Leader leader);
    void updateLeader(Leader leader);
    void deleteBatchLeader(Integer[] ids);
    List<Leader> selectLeader(Leader leader);
    Leader selectOneLeader(Integer id);
    int selectLeaderByname(String name);
}
